.login .app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: #FCFBF8;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23704214' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  color: #2D231A;
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
}

/* 顶部装饰条 */
.login .top-bar {
  height: 4px;
  background: linear-gradient(to right, #704214, #556B2F, #D2B48C);
}

/* 主内容容器 */
.login .main-container {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  overflow-y: auto;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

/* 左侧品牌介绍区 */
.login .brand-section {
  width: 100%;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .login .main-container {
    flex-direction: row;
  }

  .login .brand-section {
    width: 50%;
    margin-bottom: 0;
    padding-right: 2rem;
  }
}

@media (min-width: 1024px) {
  .login .brand-section {
    padding-right: 4rem;
  }
}

/* 装饰元素 */
.login .decor-container {
  position: relative;
}

.login .decor-circle-1 {
  position: absolute;
  top: -2.5rem;
  left: -2.5rem;
  width: 6rem;
  height: 6rem;
  background-color: rgba(85, 107, 47, 0.1);
  border-radius: 50%;
}

.login .decor-circle-2 {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  width: 5rem;
  height: 5rem;
  background-color: rgba(112, 66, 20, 0.1);
  border-radius: 50%;
}

/* 品牌标识 */
.login .brand-logo {
  position: relative;
  margin-bottom: 2rem;
  padding-top: 1rem;
}

.login .logo-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background-color: rgba(85, 107, 47, 0.1);
  margin-bottom: 1rem;
}

.login .logo-icon i {
  font-size: 1.875rem;
  color: #556B2F;
}

.login .brand-title {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: bold;
  color: #704214;
  margin-bottom: 0.75rem;
}

.login .brand-desc {
  color: #6B7280;
  max-width: 28rem;
}

/* 核心功能区 */
.login .features-section {
  position: relative;
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.login .features-title {
  display: flex;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 500;
  color: #704214;
  margin-bottom: 0.75rem;
}

.login .features-title i {
  margin-right: 0.5rem;
  color: #556B2F;
}

.login .feature-card {
  background-color: rgba(255, 255, 255, 0.8);
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
  display: flex;
  align-items: flex-start;
}

.login .feature-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.login .feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 0.5rem;
  background-color: rgba(85, 107, 47, 0.1);
  margin-right: 1rem;
}

.login .feature-icon i {
  color: #556B2F;
}

.login .feature-content h4 {
  font-weight: 500;
  color: #704214;
  margin-bottom: 0.25rem;
}

.login .feature-content p {
  font-size: 0.875rem;
  color: #6B7280;
}

/* 工作提醒区 */
.login .reminder-section {
  margin-top: 2rem;
  background-color: rgba(85, 107, 47, 0.05);
  padding: 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(85, 107, 47, 0.1);
}

.login .reminder-title {
  display: flex;
  align-items: center;
  font-size: 1.125rem;
  font-weight: 500;
  color: #556B2F;
  margin-bottom: 0.75rem;
}

.login .reminder-title i {
  margin-right: 0.5rem;
  color: #556B2F;
}

.login .reminder-content {
  font-size: 0.875rem;
  color: #374151;
}

/* 右侧登录表单区 */
.login .auth-section {
  width: 100%;
  max-width: 28rem;
  padding: 1rem;
}

/* 认证卡片 */
.login .auth-card {
  background-color: #FFFFFF;
  border-radius: 1.5rem;
  padding: 1.5rem 2rem;
  box-shadow: 0 8px 24px -4px rgba(112, 66, 20, 0.1);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.login .auth-card-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 8rem;
  height: 8rem;
  background-color: rgba(85, 107, 47, 0.05);
  border-radius: 50%;
  transform: translate(50%, -50%);
}

/* 表单切换标签 */
.login .tabs-container {
  display: flex;
  border-bottom: 1px solid #F3F4F6;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 10;
}

.login .tab-button {
  flex: 1;
  padding: 0.75rem 0;
  text-align: center;
  border-bottom: 2px solid transparent;
  font-weight: 500;
  transition: all 0.3s ease;
  background: transparent;
  border: none;
  cursor: pointer;
}

.login .tab-button.active {
  border-bottom-color: #556B2F;
  color: #556B2F;
}

.login .tab-button.inactive {
  border-bottom-color: transparent;
  color: #6B7280;
}

.login .tab-button.inactive:hover {
  color: #374151;
}

/* 表单通用样式 */
.login .form-container {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  z-index: 10;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.login .form-hidden {
  display: none;
  opacity: 0;
  transform: translateX(1rem);
}

.login .form-visible {
  display: flex;
  opacity: 1;
  transform: translateX(0);
}

/* 表单输入组 */
.login .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.login .form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
}

.login .input-container {
  position: relative;
}

.login .form-input {
  width: 100%;
  padding: 0.625rem 0.75rem 0.625rem 2.5rem;
  border: 1px solid #D1D5DB;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

.login .form-input:focus {
  border-color: #556B2F;
  box-shadow: 0 0 0 2px rgba(85, 107, 47, 0.2);
  outline: none;
}

.login .input-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9CA3AF;
}

.login .password-toggle {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #9CA3AF;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.login .password-toggle:hover {
  color: #4B5563;
}

/* 密码提示文本 */
.login .password-hint {
  font-size: 0.75rem;
  color: #6B7280;
  margin-top: 0.25rem;
}

/* 记住密码与忘记密码区 */
.login .remember-forgot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
}

.login .remember-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.login .remember-checkbox input {
  width: 1rem;
  height: 1rem;
  color: #556B2F;
  border-color: #D1D5DB;
  border-radius: 0.25rem;
}

.login .remember-checkbox label {
  color: #374151;
}

.login .forgot-password {
  color: #556B2F;
  text-decoration: none;
  transition: color 0.3s ease;
}

.login .forgot-password:hover {
  color: #704214;
}

/* 按钮样式 */
.login .form-button {
  width: 100%;
  padding: 0.75rem;
  background-color: #556B2F;
  color: #FFFFFF;
  border: none;
  border-radius: 0.5rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.login .form-button:hover {
  box-shadow: 0 10px 15px -3px rgba(85, 107, 47, 0.2);
  transform: translateY(-0.125rem);
}

/* 按钮波纹效果 */
.login .form-button:after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
  background-repeat: no-repeat;
  background-position: 50%;
  transform: scale(10, 10);
  opacity: 0;
  transition: transform 0.5s, opacity 0.8s;
}

.login .form-button:active:after {
  transform: scale(0, 0);
  opacity: 0.3;
  transition: 0s;
}

/* 表单切换链接 */
.login .toggle-link {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #F3F4F6;
  text-align: center;
  font-size: 0.875rem;
  position: relative;
  z-index: 10;
}

.login .toggle-text {
  color: #6B7280;
}

.login .toggle-button {
  color: #556B2F;
  font-weight: 500;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
  margin-left: 0.25rem;
}

.login .toggle-button:hover {
  color: #704214;
}

/* 帮助信息 */
.login .help-info {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.75rem;
  color: #6B7280;
  position: relative;
  z-index: 10;
}

.login .help-phone {
  color: #556B2F;
}

/* 底部版权 */
.login .copyright {
  margin-top: 1.5rem;
  text-align: center;
  font-size: 0.75rem;
  color: #6B7280;
}

/* 通知提示样式 */
.login .notification {
  position: fixed;
  top: 1rem;
  right: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  z-index: 50;
  transform: translateX(150%);
  opacity: 0;
  transition: all 0.5s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.login .notification.show {
  transform: translateX(0);
  opacity: 1;
}

.login .notification.success {
  background-color: #ECFDF5;
  color: #059669;
  border: 1px solid #D1FAE5;
}

.login .notification.error {
  background-color: #FEF2F2;
  color: #DC2626;
  border: 1px solid #FEE2E2;
}

.login .notification.info {
  background-color: #EFF6FF;
  color: #1E40AF;
  border: 1px solid #DBEAFE;
}
